package cn.xxc.basic.mapper;



import cn.xxc.basic.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    List<T> loadAll();

    T loadByid(Long id);

    void save(T t);

    void update(T t);

    void del(Long id);

    Integer queryCount(BaseQuery baseQuery);


    List<T> queryData(BaseQuery baseQuery);


    void patchDel(Long[] ids);
}
